package com.xc.freeapp.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Bookings {
        private     Integer      id;
        private     Integer      regType;
        private     Integer      detpId;
        private     String   deptName;
        private     Integer      doctorId;
        private     String   doctorName;
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private     Date     regdate;
        private     Integer      regtime;
        private     Integer      patientId;
        private     String   patientName;
        private     String   patitype;
        private     String   regcode;
        private  Integer regchannel;
        public Integer getRegchannel() {
			return regchannel;
		}
		public void setRegchannel(Integer regchannel) {
			this.regchannel = regchannel;
		}
		private     String    delflag;

		
		public String getPatitype() {
			return patitype;
		}
		public void setPatitype(String patitype) {
			this.patitype = patitype;
		}
		public Integer getId() {
			return id;
		}
		public void setId(Integer id) {
			this.id = id;
		}
		public Integer getRegType() {
			return regType;
		}
		public void setRegType(Integer regType) {
			this.regType = regType;
		}
		public Integer getDetpId() {
			return detpId;
		}
		public void setDetpId(Integer detpId) {
			this.detpId = detpId;
		}
		public String getDeptName() {
			return deptName;
		}
		public void setDeptName(String deptName) {
			this.deptName = deptName;
		}
		public Integer getDoctorId() {
			return doctorId;
		}
		public void setDoctorId(Integer doctorId) {
			this.doctorId = doctorId;
		}
		public String getDoctorName() {
			return doctorName;
		}
		public void setDoctorName(String doctorName) {
			this.doctorName = doctorName;
		}
		public Date getRegdate() {
			return regdate;
		}
		public void setRegdate(Date regdate) {
			this.regdate = regdate;
		}
		public Integer getRegtime() {
			return regtime;
		}
		public void setRegtime(Integer regtime) {
			this.regtime = regtime;
		}
		public Integer getPatientId() {
			return patientId;
		}
		public void setPatientId(Integer patientId) {
			this.patientId = patientId;
		}
		public String getPatientName() {
			return patientName;
		}
		public void setPatientName(String patientName) {
			this.patientName = patientName;
		}

		public String getRegcode() {
			return regcode;
		}
		public void setRegcode(String regcode) {
			this.regcode = regcode;
		}

		public String getDelflag() {
			return delflag;
		}
		public void setDelflag(String delflag) {
			this.delflag = delflag;
		}

      
}
